//
//  JZDetailedViewController.m
//  QuanZiChat
//
//  Created by 张洪林 on 15/11/17.
//  Copyright © 2015年 ZhongHongLin. All rights reserved.
//

#import "JZDetailedViewController.h"
#import "TalkingViewController.h"
@interface JZDetailedViewController ()
@property (weak, nonatomic) IBOutlet UILabel *username;

@end

@implementation JZDetailedViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.tabBarController.tabBar.hidden = YES;
    self.username.text = self.UserName;
}
- (IBAction)sendMessage:(id)sender {
    // 创建一个聊天界面对象
    RCConversationViewController *conversationVC = [RCConversationViewController new];
    conversationVC.conversationType = ConversationType_PRIVATE;
    conversationVC.targetId = self.UserID;
    conversationVC.userName = self.UserName;
    conversationVC.title = [NSString stringWithFormat:@"与%@的对话",self.UserName];
    [self.navigationController pushViewController:conversationVC animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}



@end
